package org.ran.test.demo.serurity;

import org.ran.demo.security.hash.Digester;
import org.ran.demo.security.hash.ModularDigester;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class HashConfiguration {
    
    @Bean
    public Digester digester() {
        return new ModularDigester(10);
    }
}
